package com.blog.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class UserLoginRequest {
    @NotBlank(message = "用户名不能为空")
//    @Length(min = 5, max = 20, message = "")
    private String userName;
    @NotBlank(message = "密码不能为空")
    private String password;
}
